<template>
  <div id="app">
    <header-top class="headerTop"></header-top>
    <router-view></router-view>
    <footer-tab class="footerTab"></footer-tab>
  </div>
</template>

<script>
import HeaderTop from '@/components/headerTop'
import FooterTab from '@/components/FooterTab'
export default {
  name: 'App',
  components: { HeaderTop, FooterTab}
}
</script>

<style lang="scss">
*{
    padding: 0;margin:0;
}
html, body{height: 100%;overflow: hidden;}
ul,ol{
    list-style: none;
  }
.clearfix:after{
    content: '';
    display: block;
    clear: both;
    height:0;
    visibility: hidden;
  }
.fl{float: left;}
.fr{float:right;}

#app {
  height: 100%;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  padding-top: 60px;
  padding-bottom: 40px;
  box-sizing: border-box;
  .headerTop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height:60px;
    line-height: 60px;
    z-index: 100;
  }
  .footerTab{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height:60px;
    z-index: 100;
  }
}

</style>
